package com.atm.thirdplt.service.impl;

import com.atm.thirdplt.common.core.redis.RedisCache;
import com.atm.thirdplt.feign.ISysTestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 参数配置 服务层实现
 *
 * @author atm
 */
@Service
public class SysTestServiceImpl implements ISysTestService {
    @Autowired
    private RedisCache redisCache;

    @Override
    public String selectTestStr() {
        System.out.println(redisCache.getCacheObject("sys_dict:sys_job_group").toString());
        return "hello feign client invoke success!";
    }
}
